Bug 557266 - Window Management Problem
authorTor Lillqvist <tml@novell.com>
Tue, 21 Oct 2008 20:31:05 +0000 (20:31 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 21 Oct 2008 20:31:05 +0000 (20:31 +0000)
commitc103cbec8acaab3e9259aae87c802573b584527c
tree88f443f1496843f4140ab7178d4528218ae3754b
parentdef00e8821fc9ffc223a5338dd73e3c471325feb
Bug 557266 - Window Management Problem

2008-10-21  Tor Lillqvist  <tml@novell.com>

Bug 557266 - Window Management Problem

Also reported in mail to gtk-list, and of course it has been well
known in general that window state management is messy and buggy
in various ways in gdk/win32.

* gdk/win32/gdkwindow-win32.c (show_window_internal): Correct
handling of GDK_WINDOW_STATE_ABOVE windows. It doesn't work to set
the WS_EX_TOPMOST extended style bit using SetWindowLong(). We
must call SetWindowPos() on the window using HWND_TOPMOST
instead. The description for WS_EX_TOPMOST in the documentation
for CreateWindowEx() even implies that if you read it carefully.

svn path=/trunk/; revision=21694
ChangeLog
gdk/win32/gdkwindow-win32.c